﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KerriganDataContract;
using KerriganDataContract.Customer;

namespace KerriganBlog.View
{
    public partial class Home : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ServiceProxy Srv = new ServiceProxy())
            {
                CustomerDC res = Srv.Service.GetCustomer(1);
                string name = res.Person.LastName + " " + res.Person.FirstName;
                //PersonDataContract res = Srv.Service.GetPerson(1);
            }
        }
    }
}